package cn.com.chec.en.model.domain;

import java.io.Serializable;
import java.util.List;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

public class NewsInfo implements Serializable {
	private static final long serialVersionUID = -2923419765659326325L;
	private int newsId;
	private int languageId;
	private String title;
	private String tag;
	private String author;
	private String from;
	private String publishTime;
	private String content;
	private int isFouceImage = -1;
	private String mainImage;
	private String keywords;
	private String newsMeta;
	private int textType;
	private int newsOrder;
	private String channelIds;
	private int isReview = -1;
	private List<ChannelInfo> channelInfoList;
	private int userId = 0;
	private UserInfo userInfo;

	public int getNewsId() {
		return this.newsId;
	}

	public void setNewsId(int newsId) {
		this.newsId = newsId;
	}

	public int getLanguageId() {
		return this.languageId;
	}

	public void setLanguageId(int languageId) {
		this.languageId = languageId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getFrom() {
		return this.from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getIsFouceImage() {
		return this.isFouceImage;
	}

	public void setIsFouceImage(int isFouceImage) {
		this.isFouceImage = isFouceImage;
	}

	public String getMainImage() {
		return this.mainImage;
	}

	public void setMainImage(String mainImage) {
		this.mainImage = mainImage;
	}

	public String getKeywords() {
		return this.keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public String getNewsMeta() {
		return this.newsMeta;
	}

	public void setNewsMeta(String newsMeta) {
		this.newsMeta = newsMeta;
	}

	public String getPublishTime() {
		return this.publishTime;
	}

	public void setPublishTime(String publishTime) {
		this.publishTime = publishTime;
	}

	public String getChannelIds() {
		return this.channelIds;
	}

	public void setChannelIds(String channelIds) {
		this.channelIds = channelIds;
	}

	public List<ChannelInfo> getChannelInfoList() {
		return this.channelInfoList;
	}

	public void setChannelInfoList(List<ChannelInfo> channelInfoList) {
		this.channelInfoList = channelInfoList;
	}

	public int getTextType() {
		return this.textType;
	}

	public void setTextType(int textType) {
		this.textType = textType;
	}

	public int getIsReview() {
		return this.isReview;
	}

	public void setIsReview(int isReview) {
		this.isReview = isReview;
	}

	public String getTag() {
		return this.tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public int getUserId() {
		return this.userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public int getNewsOrder() {
		return this.newsOrder;
	}

	public void setNewsOrder(int newsOrder) {
		this.newsOrder = newsOrder;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}